﻿namespace QMERP.Domain.Dtos
{
    public class BulkOrderDetailResponse
    {
        public long Id { get; set; }
        /// <summary>
        /// 直径
        /// </summary>
        public int? Diameter { get; set; }
        /// <summary>
        /// 包装信息
        /// </summary>
        public string? Packet { get; set; }
        /// <summary>
        /// 销售片数
        /// </summary>
        public int Qty { get; set; }
        /// <summary>
        /// 出库片数
        /// </summary>
        public int LeaveStockQty { get; set; }

        /// <summary>
        /// 批量订单Id
        /// </summary>
        public long BulkOrderId { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>
        public long SupplierId { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public long WarehouseId { get; set; }
        /// <summary>
        /// 合约镜种Id
        /// </summary>
        public long Contract_LensId { get; set; }
        
        public SupplierResponse Supplier { get; set; } = new();
        public WarehouseResponse Warehouse { get; set; } = new();
        public Contract_LensResponse Contract_Lens { get; set; } = new();
        public List<LensDetailResponse> LensDetails { get; set; } = new();
        public List<BulkOrderDetail_MonofocalMaterialDetailResponse> BulkOrderDetail_MonofocalMaterialDetails { get; set; } = new();
        public List<BulkOrderDetail_BifocalMaterialDetailResponse> BulkOrderDetail_BifocalMaterialDetails { get; set; } = new();
    }
}
